<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">
    <title>注册</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>

<div class="container-fluid">
    <div class="col-md-4">
        <img src="${pageContext.request.contextPath}/images/logo.png"/>
    </div>
    <div class="col-md-5">
        <img src="${pageContext.request.contextPath}/images/header.png"/>
    </div>
    <div class="col-md-3" style="padding-top:20px">
        <a href="${pageContext.request.contextPath}/Forum">首页</a>
    </div>
</div>

<div class="container"
     style="height: 460px; background: white url('${pageContext.request.contextPath}/images/loginbg.jpg') no-repeat;">
    <div class="row" style="opacity: s0.7">
        <div class="col-md-6"></div>
        <div class="col-md-5" style="background: #fff; padding: 40px 80px; margin: 30px;">

            <form class="form-horizontal" role="form" method="post" action="${pageContext.request.contextPath }/User">
                <input type="hidden" name="method" value="reg">
                <div class="form-group">
                    <label for="username" class="col-xs-6 control-label">用户名</label>
                    <div class="col-xs-6 ">
                        <input class="form-control" placeholder="请设置登录用户名，不少于4个字符"
                               type="text" id="LoginName" name="username"
                        />
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-xs-6 control-label">密码</label>
                    <div class="col-xs-6">
                        <input class="form-control" placeholder="至少8位，必须包含字母、数字、特殊字符"
                               type="password" id="Password" name="password"/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="confirmpwd" class="col-xs-6 control-label">确认密码</label>
                    <div class="col-xs-6">
                        <input class="form-control" placeholder="请确认密码" type="password"
                               id="ConfirmPassword" name="ConfirmPassword"/>
                    </div>
                </div>

                <div class="form-group">
                    <label for="password" class="col-xs-6 control-label">性别</label>
                    <div class="col-xs-6">
                        <label class="radio-inline">
                            <input type="radio" name="sex" id="sex1" value="男"> 男
                        </label> <label class="radio-inline">
                        <input type="radio" name="sex" id="sex2" value="女"> 女
                    </label> <label class="radio-inline">
                        <input type="radio" name="sex" id="sex3" value="secret" checked="checked">保密
                    </label>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-offset-6 col-sm-6">
                        <div class="checkbox">
                            <label> <input type="checkbox">
                                &nbsp;&nbsp;同意并遵守<a class="look-agreeon" target="_blank"
                                                    href="//passport.cnblogs.com/agreement.html">用户协议</a>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-6 col-sm-6">
                        <button id="submitBtn" type="submit"
                                class="btn btn-primary btn-block center-block "
                                data-style="zoom-in">
                            <span class="ladda-label">注册</span>
                        </button>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-6 col-sm-6">
                        <a href="${pageContext.request.contextPath}/User?method=log">已有账号?登录</a>

                    </div>

                </div>
            </form>
        </div>

        <div class="col-md-1"></div>

    </div>
</div>


<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>
